package com.tjmc.company.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.tjmc.company.api.enums.DeliveryRecordStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 投递记录表
 *
 * @author recruit
 * @date 2024-11-14 16:56:22
 */
@Data
@TableName("delivery_records")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "投递记录表")
public class DeliveryRecordsEntity extends Model<DeliveryRecordsEntity> {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 账号ID
	*/
    @Schema(description="账号ID")
    private Long accountId;

	/**
	* 职位ID
	*/
    @Schema(description="职位ID")
    private Long jobId;

	/**
	* 职位名称
	*/
    @Schema(description="职位名称")
    private String jobName;

	/**
	* 企业ID
	*/
    @Schema(description="企业ID")
    private Long companyId;

	/**
	* 企业名称
	*/
    @Schema(description="企业名称")
    private String companyName;

	/**
	* 投递状态
	*/
    @Schema(description="投递状态")
    private DeliveryRecordStatusEnum deliveryStatus;

	/**
	* 投递状态描述
	*/
    @Schema(description="投递状态描述")
    private String deliveryStatusDesc;

	/**
	* 创建时间
	*/
    @Schema(description="创建时间")
    private LocalDateTime createdAt;

	/**
	* 修改时间
	*/
    @Schema(description="修改时间")
    private LocalDateTime updateAt;

	/**
	 * 投递备注
	 */
	@Schema(description="投递备注")
	private String remark;

	/**
	 * 标签
	 */
	@Schema(description="标签")
	private String tag;
}
